home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global whosnow, effectspath, soundspath, hyt
- hyt = the clickOn
- if whosnow <> 0 then
- case the clickOn of
- 2:
- y = "opendoor.aif"
- 3:
- y = "mov.aif"
- 4:
- y = "mov.aif"
- 5:
- y = "thud.aif"
- 6:
- y = "mov.aif"
- 7:
- y = "slip.aif"
- 8:
- y = "slip.aif"
- 9:
- y = "fire.aif"
- 10:
- y = "fire.aif"
- 11:
- y = "switch.aif"
- 12:
- y = "sqik.aif"
- 13:
- y = "sqik.aif"
- 14:
- y = "sqik.aif"
- 15:
- y = "wosh.aif"
- 16:
- y = "bottle.aif"
- 17:
- y = "steel.aif"
- 18:
- y = "bottle.aif"
- 19:
- y = "thud.aif"
- 20:
- y = "thud.aif"
- 21:
- y = "sqik.aif"
- 22:
- y = "piano.aif"
- 23:
- y = "wosh.aif"
- 24:
- y = "wosh.aif"
- 25:
- y = "bzzz.aif"
- end case
- y2 = 0
- case whosnow of
- "sue":
- y2 = 5
- "krp":
- y2 = 3
- "doc":
- y2 = "25,21"
- "psy":
- y2 = "11"
- "hat":
- y2 = "15"
- "poz":
- y2 = "13,14"
- end case
- sound playFile 2, effectspath & y
- u = random(4)
- if u = 1 then
- if whosnow = "psy" then
- yyy = 313 + random(5)
- fff = "psy"
- sound playFile 1, soundspath & yyy
- play frame fff & "spk"
- else
- if whosnow = "doc" then
- yyy = random(5)
- if yyy = 1 then
- sound playFile 1, soundspath & 324
- play frame "ishspk"
- sound playFile 1, soundspath & 325
- play frame "docspk"
- else
- if yyy = 2 then
- sound playFile 1, soundspath & 326
- play frame "ishspk"
- sound playFile 1, soundspath & 327
- play frame "docspk"
- else
- if yyy = 3 then
- sound playFile 1, soundspath & 328
- play frame "ishspk"
- sound playFile 1, soundspath & 329
- play frame "docspk"
- else
- if yyy = 4 then
- sound playFile 1, soundspath & 330
- play frame "ishspk"
- sound playFile 1, soundspath & 331
- play frame "docspk"
- else
- sound playFile 1, soundspath & 332
- play frame "ishspk"
- sound playFile 1, soundspath & 333
- play frame "docspk"
- sound playFile 1, soundspath & 334
- play frame "ishspk"
- sound playFile 1, soundspath & 335
- play frame "docspk"
- sound playFile 1, soundspath & 336
- play frame "docspk"
- end if
- end if
- end if
- end if
- else
- if whosnow = "hat" then
- yyy = 342 + random(5)
- fff = "hat"
- sound playFile 1, soundspath & yyy
- play frame fff & "spk"
- else
- if whosnow = "doc" then
- yyy = random(5)
- if yyy = 1 then
- sound playFile 1, soundspath & 351
- play frame "piespk"
- sound playFile 1, soundspath & 352
- play frame "pozspk"
- else
- if yyy = 2 then
- sound playFile 1, soundspath & 353
- play frame "pozspk"
- sound playFile 1, soundspath & 354
- play frame "piespk"
- else
- if yyy = 3 then
- sound playFile 1, soundspath & 355
- play frame "pozspk"
- sound playFile 1, soundspath & 356
- play frame "piespk"
- else
- if yyy = 4 then
- sound playFile 1, soundspath & 357
- play frame "pozspk"
- sound playFile 1, soundspath & 358
- play frame "piespk"
- end if
- end if
- end if
- end if
- else
- if whosnow = "sue" then
- yyy = 364 + random(5)
- fff = "sue"
- sound playFile 1, soundspath & yyy
- play frame fff & "spk"
- else
- if whosnow = "krp" then
- yyy = 377 + random(5)
- fff = "krup"
- sound playFile 1, soundspath & yyy
- play frame fff & "spk"
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- if whosnow = "krp" then
- if (the clickOn + 10) > 25 then
- g = the clickOn + 10 - 25
- else
- g = the clickOn + 10
- end if
- play frame "do" & 1 + random(24)
- else
- play frame "do" & hyt
- end if
- end if
- end
-